<template>
  <page-form :x-uri="uri" :reset-btn-text="false">
    <!-- 自定义tab -->
    <template v-slot:page-tabs>
      <tabs :tabs="tabs" />
    </template>
  </page-form>
</template>

<script>
import PageForm from '@public/template/page_form.vue';
import Tabs from './tabs';
export default {
  components: {
    PageForm,
    Tabs
  },
  data() {
    return {
      uri: '/exam/admin/question/bank/' + this.$route.params.id + '/edit',
      tabs: [
        {
          title: '编辑题库',
          uri: '/exam/question/bank/' + this.$route.params.id + '/edit',
          meta: {
            permission: 'exam.question.bank.edit'
          }
        }
      ]
    };
  }
};
</script>
